<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE HTML PUBLIC "" "">
<f:view xmlns="http://www.w3.org/1999/xhtml" xmlns:f="http://java.sun.com/jsf/core"
	xmlns:w="http://www.apusic.com/jsf/widget" xmlns:layout="http://www.apusic.com/jsf/layout"
	xmlns:h="http://java.sun.com/jsf/html" xmlns:ajax="http://www.apusic.com/jsf/ajax"
	renderKitId="AJAX" xmlns:epm="http://www.bp.com.cn/epm">
	<w:head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<w:stylesheet src="/css/kmp4.css" type="text/css"></w:stylesheet>
		<w:script src="/javascript/k4.js" type="text/javascript" language="UTF-8"></w:script>
		<script>
			//<![CDATA[
			function showRelation(title,url){
				iframe_rd.location.href=url;
				window_rd.setTitle(title);
				window_rd.show();
			}
			function closeWindow(jsvar){
				window_rd.hide();
				refreshData(jsvar);
			}
			function refreshData(jsvar){
			//if(dep_relation)
				//dep_relation.location.reload();
			//if(role_relation)
				//role_relation.location.reload();
			if(jsvar!=null&&''!=jsvar){
				var frame=document.getElementById(jsvar+'_frame');
				var src=frame.src;
				frame.src=src;
			}
		}
			
		    //]]>
		</script>
	</w:head>
	<w:page title="查看应急事件">
		<layout:borderLayout fitToBody="true">
			<layout:panel region="center" fit="true" split="true" border="false" styleClass="k4-combineform"
				autoScroll="true">
				<w:form>
					<!--<w:toolBar>
						<w:button label="取消"
							image="#{facesContext.externalContext.requestContextPath}/images/cancel.gif"
							onclick="javascript:closeCenterLayoutTab('showEventTab')" alwaysSubmit="false" />
					</w:toolBar>
					--><layout:panelGrid columns="4" cellpadding="0" cellspacing="0" border="1"
						styleClass="k4-combineform-grid">
						<layout:cell styleClass="k4-form-fieldtitle" style="height: 0px;">
						</layout:cell>
						<layout:cell styleClass="k4-form-fieldvalue" style="height: 0px;">
						</layout:cell>
						<layout:cell styleClass="k4-form-fieldtitle" style="height: 0px;">
						</layout:cell>
						<layout:cell styleClass="k4-form-fieldvalue" style="height: 0px;">
						</layout:cell>
						<layout:cell styleClass="k4-form-fieldtitle">
							<h:outputLabel value="事件名称"></h:outputLabel>
						</layout:cell>
						<layout:cell styleClass="k4-form-fieldvalue">
							<h:outputText id="eventName"></h:outputText>
						</layout:cell>
						<layout:cell styleClass="k4-form-fieldtitle">
							<h:outputLabel value="发生地点"></h:outputLabel>
						</layout:cell>
						<layout:cell styleClass="k4-form-fieldvalue">
							<h:outputText id="eventAddress"></h:outputText>
						</layout:cell>
						<layout:cell styleClass="k4-form-fieldtitle">
							<h:outputLabel value="事件状态"></h:outputLabel>
						</layout:cell>
						<layout:cell styleClass="k4-form-fieldvalue">
							<h:outputText id="eventStatus" converter="commonKeyFormatter"></h:outputText>
						</layout:cell>
						<layout:cell styleClass="k4-form-fieldtitle">
							<h:outputLabel value="事件级别"></h:outputLabel>
						</layout:cell>
						<layout:cell styleClass="k4-form-fieldvalue">
							<h:outputText id="eventLevel" converter="commonKeyFormatter"></h:outputText>
						</layout:cell>
						<layout:cell styleClass="k4-form-fieldtitle">
							<h:outputLabel value="适用范围大类"></h:outputLabel>
						</layout:cell>
						<layout:cell styleClass="k4-form-fieldvalue">
							<h:outputText id="eventRangeB" converter="commonKeyFormatter"></h:outputText>
						</layout:cell>
						<layout:cell styleClass="k4-form-fieldtitle">
							<h:outputLabel value="适用范围细类"></h:outputLabel>
						</layout:cell>
						<layout:cell styleClass="k4-form-fieldvalue">
							<h:outputText id="eventRangeS" converter="commonKeyFormatter"></h:outputText>
						</layout:cell>

						<layout:cell styleClass="k4-form-fieldtitle">
							<h:outputLabel value="接报时间"></h:outputLabel>
						</layout:cell>
						<layout:cell styleClass="k4-form-fieldvalue">
							<h:outputText id="eventReportDate" converter="dateMinuteFormatter"></h:outputText>
						</layout:cell>
						<layout:cell styleClass="k4-form-fieldtitle">
							<h:outputLabel value="发生时间"></h:outputLabel>
						</layout:cell>
						<layout:cell styleClass="k4-form-fieldvalue">
							<h:outputText id="eventHappenDate" converter="dateMinuteFormatter"></h:outputText>
						</layout:cell>
						<layout:cell styleClass="k4-form-fieldtitle">
							<h:outputLabel value="创建者"></h:outputLabel>
						</layout:cell>
						<layout:cell styleClass="k4-form-fieldvalue">
							<h:outputText id="eventCreateUser" converter="usernameFormatter"></h:outputText>
						</layout:cell>
						<layout:cell styleClass="k4-form-fieldtitle">
							<h:outputLabel value="创建时间"></h:outputLabel>
						</layout:cell>
						<layout:cell styleClass="k4-form-fieldvalue">
							<h:outputText id="eventCreateDate" converter="dateMinuteFormatter"></h:outputText>
						</layout:cell>
						<layout:cell styleClass="k4-form-fieldtitle">
							<h:outputLabel value="备注"></h:outputLabel>
						</layout:cell>
						<layout:cell styleClass="k4-form-fieldvalue" colspan="3">
							<h:outputText id="eventRemark" escape="false"></h:outputText>
						</layout:cell>
					</layout:panelGrid>
				</w:form>
			</layout:panel>
			<layout:panel region="south" split="true" fit="true" height="350" border="false">
				<layout:tabLayout border="false" style="height: 100%;" fit="true">
					<layout:panel title="特殊事件"
						url="/modules/eop/listSpecialInfor.faces?eventId=#{eop_showEventBean.id}" lazyLoad="true"
						jsvar="spInfo_relation">
					</layout:panel>
					<layout:panel title="应急阶段"
						url="/modules/eop/listEmergencyStage.faces?eventId=#{eop_showEventBean.id}" lazyLoad="true"
						jsvar="ecyStage_relation">
					</layout:panel>
					<layout:panel title="会议记录"
						url="/modules/eop/listMinutes.faces?eventId=#{eop_showEventBean.id}" lazyLoad="true"
						jsvar="minutes_relation">
					</layout:panel>
				</layout:tabLayout>

			</layout:panel>
		</layout:borderLayout>
		<layout:window jsvar="window_rd" show="false" width="750" height="450" modal="true">
			<w:iframe id="iframe_rd" name="iframe_rd" style="width:100%;height:99%;"></w:iframe>
		</layout:window>
	</w:page>
</f:view>